
Ext.define("Trebuchet.view.Main", {
	extend: 'Ext.Panel',
    xtype: 'mainview',
    requires: [ 
		'Trebuchet.view.Header',
		'Trebuchet.view.Home',
		'Trebuchet.view.Footer',
	],
	config:{
		//layout: 'vbox',
		autoScroll: true,		
		//width: '100%',
		//height: '100%',
	    
	    items:[
	    	//header
	    	{
	    		xtype:'headerview'
	    		
	    	},
	    	//Main
	    	{
				layout: {
            		type: 'card',
            
				},
				items: [
					{
						xtype: 'homeview'
					}
				]
						

	    	},
	    	//Footer
	    	{
	    		xtype:'footerview'
	    		
	    		
	    	}

	    ]
	    
   },
   init: function () {
	
		try {
		
			console.log('Initialize: ' + this.self.getName());
			
		}catch(ex){
			
			
			
		}
	}, 
    
});